﻿<?xml version="1.0" encoding="utf-8"?>
<BindingInfo Assembly="Microsoft.BizTalk.Deployment, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Version="3.5.1.0" BindingStatus="NoBindings" BoundEndpoints="0" TotalEndpoints="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Timestamp>2013-10-15T08:50:06.4943802+02:00</Timestamp>
  <ModuleRefCollection>
    <ModuleRef Name="[Application:BizTalk.Factory]" FullName="[Application:BizTalk.Factory], Version=, Culture=, PublicKeyToken=">
      <Services />
      <TrackedSchemas />
    </ModuleRef>
    <ModuleRef Name="Be.Stateless.BizTalk.Schemas" Version="1.0.0.0" Culture="neutral" PublicKeyToken="3707daa0b119fc14" FullName="Be.Stateless.BizTalk.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14">
      <Services />
      <TrackedSchemas />
    </ModuleRef>
    <ModuleRef Name="Be.Stateless.BizTalk.Pipelines" Version="1.0.0.0" Culture="neutral" PublicKeyToken="3707daa0b119fc14" FullName="Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14">
      <Services />
      <TrackedSchemas />
    </ModuleRef>
    <ModuleRef Name="Be.Stateless.BizTalk.Transforms" Version="1.0.0.0" Culture="neutral" PublicKeyToken="3707daa0b119fc14" FullName="Be.Stateless.BizTalk.Transforms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14">
      <Services />
      <TrackedSchemas />
    </ModuleRef>
  </ModuleRefCollection>
  <SendPortCollection>
    <!-- #ifdef _xml_preprocess -->
    <SendPort Name="BizTalk.Factory.SP1.Batch.AddPart.WCF-SQL.XML" IsStatic="true" IsTwoWay="false" BindingOption="0">
      <TransmitPipeline Name="Be.Stateless.BizTalk.Pipelines.XmlTransmit" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.XmlTransmit, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="2" TrackingOption="None" />
      <SendPipelineData>
        <Root>
          <Stages>
            <Stage CategoryId="9d0e4108-4cce-4536-83fa-4a5040674ad6">
              <Components>
                <Component Name="Be.Stateless.BizTalk.Component.ContextPropertyExtractorComponent">
                  <Properties />
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.PolicyRunnerComponent">
                  <Properties />
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.ActivityTrackerComponent">
                  <Properties>
                    <TrackingResolutionPolicy vt="8">Be.Stateless.BizTalk.Policies.Send.Batch.AggregateProcessResolver, Version=1.0</TrackingResolutionPolicy>
                  </Properties>
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.XsltRunnerComponent">
                  <Properties>
                    <Map vt="8">Be.Stateless.BizTalk.Transforms.ToSql.Procedures.Batch.AnyToAddPart, Be.Stateless.BizTalk.Transforms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14</Map>
                  </Properties>
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.XmlTranslatorComponent">
                  <Properties>
                    <Enabled vt="11">0</Enabled>
                  </Properties>
                </Component>
              </Components>
            </Stage>
          </Stages>
        </Root>
      </SendPipelineData>
      <PrimaryTransport>
        <Address>${BizTalkFactoryTransientStateDbUri}?</Address>
        <TransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
        <TransportTypeData>
          <CustomProps>
            <AffiliateApplicationName vt="8" />
            <BindingConfiguration vt="8">
              <binding name="sqlBinding" />
            </BindingConfiguration>
            <BindingType vt="8">sqlBinding</BindingType>
            <EnableTransaction vt="11">-1</EnableTransaction>
            <EndpointBehaviorConfiguration vt="8">
              <behavior name="EndpointBehavior" />
            </EndpointBehaviorConfiguration>
            <InboundBodyLocation vt="8">UseBodyElement</InboundBodyLocation>
            <InboundBodyPathExpression vt="8" />
            <InboundNodeEncoding vt="8">Xml</InboundNodeEncoding>
            <IsolationLevel vt="8">ReadCommitted</IsolationLevel>
            <OutboundBodyLocation vt="8">UseBodyElement</OutboundBodyLocation>
            <OutboundXmlTemplate vt="8">
              <bts-msg-body encoding="xml" xmlns="http://www.microsoft.com/schemas/bts2007" />
            </OutboundXmlTemplate>
            <PropagateFaultMessage vt="11">-1</PropagateFaultMessage>
            <ProxyAddress vt="8" />
            <ProxyUserName vt="8" />
            <StaticAction vt="8">TypedProcedure/dbo/usp_batch_AddPart</StaticAction>
            <UserName vt="8" />
            <UseSSO vt="11">0</UseSSO>
          </CustomProps>
        </TransportTypeData>
        <RetryCount>${RetryCount-ShortRunning}</RetryCount>
        <RetryInterval>${RetryInterval-ShortRunning}</RetryInterval>
        <Primary>true</Primary>
        <SendHandler Name="${TransmitHost}" HostTrusted="false">
          <TransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
        </SendHandler>
      </PrimaryTransport>
      <ReceivePipelineData xsi:nil="true" />
      <Filter>
        <Filter>
          <Group>
            <Statement Property="Be.Stateless.BizTalk.Schemas.BizTalkFactory.EnvelopeSpecName" Operator="6" />
          </Group>
        </Filter>
      </Filter>
      <ApplicationName>BizTalk.Factory</ApplicationName>
    </SendPort>
    <SendPort Name="BizTalk.Factory.SP1.Batch.QueueControlledRelease.WCF-SQL.XML" IsStatic="true" IsTwoWay="false" BindingOption="0">
      <TransmitPipeline Name="Be.Stateless.BizTalk.Pipelines.XmlTransmit" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.XmlTransmit, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="2" TrackingOption="None" />
      <SendPipelineData>
        <Root>
          <Stages>
            <Stage CategoryId="9d0e4108-4cce-4536-83fa-4a5040674ad6">
              <Components>
                <Component Name="Be.Stateless.BizTalk.Component.ContextPropertyExtractorComponent">
                  <Properties />
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.PolicyRunnerComponent">
                  <Properties />
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.ActivityTrackerComponent">
                  <Properties>
                    <TrackingResolutionPolicy vt="8">Be.Stateless.BizTalk.Policies.Send.Batch.ReleaseProcessResolver, Version=1.0</TrackingResolutionPolicy>
                  </Properties>
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.XsltRunnerComponent">
                  <Properties>
                    <Map vt="8">Be.Stateless.BizTalk.Transforms.ToSql.Procedures.Batch.ReleaseToQueueControlledRelease, Be.Stateless.BizTalk.Transforms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14</Map>
                  </Properties>
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.XmlTranslatorComponent">
                  <Properties>
                    <Enabled vt="11">0</Enabled>
                  </Properties>
                </Component>
              </Components>
            </Stage>
          </Stages>
        </Root>
      </SendPipelineData>
      <PrimaryTransport>
        <Address>${BizTalkFactoryTransientStateDbUri}?</Address>
        <TransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
        <TransportTypeData>
          <CustomProps>
            <AffiliateApplicationName vt="8" />
            <BindingConfiguration vt="8">
              <binding name="sqlBinding" />
            </BindingConfiguration>
            <BindingType vt="8">sqlBinding</BindingType>
            <EnableTransaction vt="11">-1</EnableTransaction>
            <EndpointBehaviorConfiguration vt="8">
              <behavior name="EndpointBehavior" />
            </EndpointBehaviorConfiguration>
            <InboundBodyLocation vt="8">UseBodyElement</InboundBodyLocation>
            <InboundBodyPathExpression vt="8" />
            <InboundNodeEncoding vt="8">Xml</InboundNodeEncoding>
            <IsolationLevel vt="8">ReadCommitted</IsolationLevel>
            <OutboundBodyLocation vt="8">UseBodyElement</OutboundBodyLocation>
            <OutboundXmlTemplate vt="8">
              <bts-msg-body encoding="xml" xmlns="http://www.microsoft.com/schemas/bts2007" />
            </OutboundXmlTemplate>
            <PropagateFaultMessage vt="11">-1</PropagateFaultMessage>
            <ProxyAddress vt="8" />
            <ProxyUserName vt="8" />
            <StaticAction vt="8">TypedProcedure/dbo/usp_batch_QueueControlledRelease</StaticAction>
            <UserName vt="8" />
            <UseSSO vt="11">0</UseSSO>
          </CustomProps>
        </TransportTypeData>
        <RetryCount>${RetryCount-ShortRunning}</RetryCount>
        <RetryInterval>${RetryInterval-ShortRunning}</RetryInterval>
        <Primary>true</Primary>
        <SendHandler Name="${TransmitHost}" HostTrusted="false">
          <TransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
        </SendHandler>
      </PrimaryTransport>
      <ReceivePipelineData xsi:nil="true" />
      <Filter>
        <Filter>
          <Group>
            <Statement Property="BTS.MessageType" Operator="0" Value="urn:schemas.stateless.be:biztalk:batch:2012:12#ReleaseBatch" />
          </Group>
        </Filter>
      </Filter>
      <ApplicationName>BizTalk.Factory</ApplicationName>
    </SendPort>
    <SendPort Name="BizTalk.Factory.SP1.Claim.CheckIn.WCF-SQL.XML" IsStatic="true" IsTwoWay="false" BindingOption="0">
      <TransmitPipeline Name="Be.Stateless.BizTalk.Pipelines.XmlTransmit" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.XmlTransmit, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="2" TrackingOption="None" />
      <SendPipelineData>
        <Root>
          <Stages>
            <Stage CategoryId="9d0e4108-4cce-4536-83fa-4a5040674ad6">
              <Components>
                <Component Name="Be.Stateless.BizTalk.Component.ContextPropertyExtractorComponent">
                  <Properties />
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.PolicyRunnerComponent">
                  <Properties />
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.ActivityTrackerComponent">
                  <Properties>
                    <TrackingResolutionPolicy vt="8">Be.Stateless.BizTalk.Policies.Send.Claim.ProcessResolver, Version=1.0</TrackingResolutionPolicy>
                  </Properties>
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.XsltRunnerComponent">
                  <Properties>
                    <Map vt="8">Be.Stateless.BizTalk.Transforms.ToSql.Procedures.Claim.ClaimToCheckIn, Be.Stateless.BizTalk.Transforms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14</Map>
                  </Properties>
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.XmlTranslatorComponent">
                  <Properties>
                    <Enabled vt="11">0</Enabled>
                  </Properties>
                </Component>
              </Components>
            </Stage>
          </Stages>
        </Root>
      </SendPipelineData>
      <PrimaryTransport>
        <Address>${BizTalkFactoryTransientStateDbUri}?</Address>
        <TransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
        <TransportTypeData>
          <CustomProps>
            <AffiliateApplicationName vt="8" />
            <BindingConfiguration vt="8">
              <binding name="sqlBinding" />
            </BindingConfiguration>
            <BindingType vt="8">sqlBinding</BindingType>
            <EnableTransaction vt="11">-1</EnableTransaction>
            <EndpointBehaviorConfiguration vt="8">
              <behavior name="EndpointBehavior" />
            </EndpointBehaviorConfiguration>
            <InboundBodyLocation vt="8">UseBodyElement</InboundBodyLocation>
            <InboundBodyPathExpression vt="8" />
            <InboundNodeEncoding vt="8">Xml</InboundNodeEncoding>
            <IsolationLevel vt="8">ReadCommitted</IsolationLevel>
            <OutboundBodyLocation vt="8">UseBodyElement</OutboundBodyLocation>
            <OutboundXmlTemplate vt="8">
              <bts-msg-body encoding="xml" xmlns="http://www.microsoft.com/schemas/bts2007" />
            </OutboundXmlTemplate>
            <PropagateFaultMessage vt="11">-1</PropagateFaultMessage>
            <ProxyAddress vt="8" />
            <ProxyUserName vt="8" />
            <StaticAction vt="8">TypedProcedure/dbo/usp_claim_CheckIn</StaticAction>
            <UserName vt="8" />
            <UseSSO vt="11">0</UseSSO>
          </CustomProps>
        </TransportTypeData>
        <RetryCount>${RetryCount-ShortRunning}</RetryCount>
        <RetryInterval>${RetryInterval-ShortRunning}</RetryInterval>
        <Primary>true</Primary>
        <SendHandler Name="${TransmitHost}" HostTrusted="false">
          <TransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
        </SendHandler>
      </PrimaryTransport>
      <ReceivePipelineData xsi:nil="true" />
      <Filter>
        <Filter>
          <Group>
            <Statement Property="BTS.MessageType" Operator="0" Value="urn:schemas.stateless.be:biztalk:claim:2013:04#CheckIn" />
          </Group>
        </Filter>
      </Filter>
      <ApplicationName>BizTalk.Factory</ApplicationName>
    </SendPort>
    <SendPort Name="BizTalk.Factory.SP1.FailedMessage.FILE.NULL" IsStatic="true" IsTwoWay="false" BindingOption="0">
      <TransmitPipeline Name="Be.Stateless.BizTalk.Pipelines.AbsorbingTransmit" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.AbsorbingTransmit, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="2" TrackingOption="None" />
      <SendPipelineData>
        <Root>
          <Stages>
            <Stage CategoryId="9d0e4108-4cce-4536-83fa-4a5040674ad6">
              <Components>
                <Component Name="Be.Stateless.BizTalk.Component.ActivityTrackerComponent">
                  <Properties>
                    <TrackingResolutionPolicy vt="8">Be.Stateless.BizTalk.Policies.Send.FailedProcessResolver, Version=1.0</TrackingResolutionPolicy>
                  </Properties>
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.MessageConsumerComponent">
                  <Properties />
                </Component>
              </Components>
            </Stage>
          </Stages>
        </Root>
      </SendPipelineData>
      <PrimaryTransport>
        <Address>C:\Files\Drops\Out\Failed_%MessageID%.xml</Address>
        <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
        <TransportTypeData>
          <CustomProps>
            <AllowCacheOnWrite vt="11">0</AllowCacheOnWrite>
            <CopyMode vt="19">1</CopyMode>
            <FileName vt="8">Failed_%MessageID%.xml</FileName>
            <UseTempFileOnWrite vt="11">-1</UseTempFileOnWrite>
          </CustomProps>
        </TransportTypeData>
        <RetryCount>${RetryCount-RealTime}</RetryCount>
        <RetryInterval>${RetryInterval-RealTime}</RetryInterval>
        <Primary>true</Primary>
        <SendHandler Name="${TransmitHost}" HostTrusted="false">
          <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
        </SendHandler>
      </PrimaryTransport>
      <ReceivePipelineData xsi:nil="true" />
      <Filter>
        <Filter>
          <Group>
            <Statement Property="ErrorReport.ErrorType" Operator="0" Value="FailedMessage" />
          </Group>
        </Filter>
      </Filter>
      <ApplicationName>BizTalk.Factory</ApplicationName>
    </SendPort>
    <!-- #endif -->
    <!-- #if GetProperty("TargetEnvironment") == "DEV" || GetProperty("TargetEnvironment") == "SHAREDDEV" -->
    <SendPort Name="BizTalk.Factory.SP1.UnitTest.Batch.Trace.FILE.XML" IsStatic="true" IsTwoWay="false" BindingOption="0">
      <TransmitPipeline Name="Be.Stateless.BizTalk.Pipelines.PassThruTransmit" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.PassThruTransmit, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="2" TrackingOption="None" />
      <PrimaryTransport>
        <Address>C:\Files\Drops\Trace\%MessageID%.xml</Address>
        <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
        <TransportTypeData>
          <CustomProps>
            <AllowCacheOnWrite vt="11">0</AllowCacheOnWrite>
            <CopyMode vt="19">1</CopyMode>
            <FileName vt="8">%MessageID%.xml</FileName>
            <UseTempFileOnWrite vt="11">-1</UseTempFileOnWrite>
          </CustomProps>
        </TransportTypeData>
        <RetryCount>3</RetryCount>
        <RetryInterval>5</RetryInterval>
        <Primary>true</Primary>
        <SendHandler Name="BizTalkServerApplication" HostTrusted="false">
          <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
        </SendHandler>
      </PrimaryTransport>
      <ReceivePipelineData xsi:nil="true" />
      <Filter>
        <Filter>
          <Group>
            <Statement Property="BTS.ReceivePortName" Operator="0" Value="BizTalk.Factory.RP1.Batch" />
          </Group>
        </Filter>
      </Filter>
      <ApplicationName>BizTalk.Factory</ApplicationName>
    </SendPort>
    <SendPort Name="BizTalk.Factory.SP1.UnitTest.Claim.Redeem.FILE.XML" IsStatic="true" IsTwoWay="false" BindingOption="0">
      <TransmitPipeline Name="Be.Stateless.BizTalk.Pipelines.PassThruTransmit" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.PassThruTransmit, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="2" TrackingOption="None" />
      <SendPipelineData>
        <Root>
          <Stages>
            <Stage CategoryId="9d0e4101-4cce-4536-83fa-4a5040674ad6">
              <Components>
                <Component Name="Be.Stateless.BizTalk.Component.FailedMessageRoutingEnablerComponent">
                  <Properties />
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.PolicyRunnerComponent">
                  <Properties />
                </Component>
                <Component Name="Be.Stateless.BizTalk.Component.ActivityTrackerComponent">
                  <Properties>
                    <TrackingModes vt="8">Claim</TrackingModes>
                  </Properties>
                </Component>
              </Components>
            </Stage>
          </Stages>
        </Root>
      </SendPipelineData>
      <PrimaryTransport>
        <Address>C:\Files\Drops\Out\CLAIM_%MessageID%.xml</Address>
        <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
        <TransportTypeData>
          <CustomProps>
            <AllowCacheOnWrite vt="11">0</AllowCacheOnWrite>
            <CopyMode vt="19">1</CopyMode>
            <FileName vt="8">CLAIM_%MessageID%.xml</FileName>
            <UseTempFileOnWrite vt="11">-1</UseTempFileOnWrite>
          </CustomProps>
        </TransportTypeData>
        <RetryCount>3</RetryCount>
        <RetryInterval>5</RetryInterval>
        <Primary>true</Primary>
        <SendHandler Name="BizTalkServerApplication" HostTrusted="false">
          <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
        </SendHandler>
      </PrimaryTransport>
      <ReceivePipelineData xsi:nil="true" />
      <Filter>
        <Filter>
          <Group>
            <Statement Property="BTS.MessageType" Operator="0" Value="urn:schemas.stateless.be:biztalk:claim:2013:04#CheckOut" />
          </Group>
        </Filter>
      </Filter>
      <ApplicationName>BizTalk.Factory</ApplicationName>
    </SendPort>
    <!-- #endif -->
  </SendPortCollection>
  <DistributionListCollection />
  <ReceivePortCollection>
    <!-- #ifdef _xml_preprocess -->
    <ReceivePort Name="BizTalk.Factory.RP1.Batch" IsTwoWay="false" BindingOption="0">
      <ReceiveLocations>
        <ReceiveLocation Name="BizTalk.Factory.RL1.Batch.Release.WCF-SQL.XML">
          <Address>${BizTalkFactoryTransientStateDbUri}?InboundId=AvailableBatches</Address>
          <PublicAddress />
          <Primary>true</Primary>
          <ReceiveLocationTransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
          <ReceiveLocationTransportTypeData>
            <CustomProps>
              <AffiliateApplicationName vt="8" />
              <BindingConfiguration vt="8">
                <binding name="sqlBinding"
                         polledDataAvailableStatement="SELECT COUNT(1) FROM vw_batch_NextAvailableBatch"
                         pollingStatement="EXEC usp_batch_ReleaseNextBatch"
                         pollingIntervalInSeconds="${BatchReleasePollingInterval}"
                         pollWhileDataFound="true"
                         inboundOperationType="XmlPolling"
                         xmlStoredProcedureRootNodeName="BodyWrapper" />
              </BindingConfiguration>
              <BindingType vt="8">sqlBinding</BindingType>
              <CredentialType vt="8">None</CredentialType>
              <DisableLocationOnFailure vt="11">0</DisableLocationOnFailure>
              <EndpointBehaviorConfiguration vt="8">
                <behavior name="EndpointBehavior" />
              </EndpointBehaviorConfiguration>
              <InboundBodyLocation vt="8">UseBodyPath</InboundBodyLocation>
              <InboundBodyPathExpression vt="8">/BodyWrapper/*</InboundBodyPathExpression>
              <InboundNodeEncoding vt="8">Xml</InboundNodeEncoding>
              <IncludeExceptionDetailInFaults vt="11">-1</IncludeExceptionDetailInFaults>
              <OrderedProcessing vt="11">0</OrderedProcessing>
              <OutboundBodyLocation vt="8">UseBodyElement</OutboundBodyLocation>
              <OutboundXmlTemplate vt="8">
                <bts-msg-body encoding="xml" xmlns="http://www.microsoft.com/schemas/bts2007" />
              </OutboundXmlTemplate>
              <ServiceBehaviorConfiguration vt="8">
                <behavior name="ServiceBehavior">
                  <sqlAdapterInboundTransactionBehavior transactionTimeout="00:02:00" transactionIsolationLevel="ReadCommitted" />
                </behavior>
              </ServiceBehaviorConfiguration>
              <SuspendMessageOnFailure vt="11">-1</SuspendMessageOnFailure>
              <UserName vt="8" />
            </CustomProps>
          </ReceiveLocationTransportTypeData>
          <ReceivePipeline Name="Be.Stateless.BizTalk.Pipelines.BatchReceive" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.BatchReceive, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="1" TrackingOption="None" />
          <ReceivePipelineData xsi:nil="true" />
          <SendPipeline xsi:nil="true" />
          <SendPipelineData xsi:nil="true" />
          <Enable>true</Enable>
          <ReceiveHandler Name="${ReceiveHost}" HostTrusted="false">
            <TransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
          </ReceiveHandler>
        </ReceiveLocation>
      </ReceiveLocations>
      <SendPipelineData xsi:nil="true" />
      <ApplicationName>BizTalk.Factory</ApplicationName>
    </ReceivePort>
    <ReceivePort Name="BizTalk.Factory.RP1.Claim" IsTwoWay="false" BindingOption="0">
      <ReceiveLocations>
        <ReceiveLocation Name="BizTalk.Factory.RL1.Claim.CheckOut.WCF-SQL.XML">
          <Address>${BizTalkFactoryTransientStateDbUri}?InboundId=AvailableTokens</Address>
          <PublicAddress />
          <Primary>true</Primary>
          <ReceiveLocationTransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
          <ReceiveLocationTransportTypeData>
            <CustomProps>
              <AffiliateApplicationName vt="8" />
              <BindingConfiguration vt="8">
                <binding name="sqlBinding"
                         polledDataAvailableStatement="SELECT COUNT(1) FROM vw_claim_AvailableTokens"
                         pollingStatement="EXEC usp_claim_CheckOut"
                         pollingIntervalInSeconds="${ClaimCheckOutPollingInterval}"
                         inboundOperationType="XmlPolling"
                         xmlStoredProcedureRootNodeName="BodyWrapper" />
              </BindingConfiguration>
              <BindingType vt="8">sqlBinding</BindingType>
              <CredentialType vt="8">None</CredentialType>
              <DisableLocationOnFailure vt="11">0</DisableLocationOnFailure>
              <EndpointBehaviorConfiguration vt="8">
                <behavior name="EndpointBehavior" />
              </EndpointBehaviorConfiguration>
              <InboundBodyLocation vt="8">UseBodyPath</InboundBodyLocation>
              <InboundBodyPathExpression vt="8">/BodyWrapper/*</InboundBodyPathExpression>
              <InboundNodeEncoding vt="8">Xml</InboundNodeEncoding>
              <IncludeExceptionDetailInFaults vt="11">-1</IncludeExceptionDetailInFaults>
              <OrderedProcessing vt="11">0</OrderedProcessing>
              <OutboundBodyLocation vt="8">UseBodyElement</OutboundBodyLocation>
              <OutboundXmlTemplate vt="8">
                <bts-msg-body encoding="xml" xmlns="http://www.microsoft.com/schemas/bts2007" />
              </OutboundXmlTemplate>
              <ServiceBehaviorConfiguration vt="8">
                <behavior name="ServiceBehavior">
                  <sqlAdapterInboundTransactionBehavior transactionTimeout="00:02:00" transactionIsolationLevel="ReadCommitted" />
                </behavior>
              </ServiceBehaviorConfiguration>
              <SuspendMessageOnFailure vt="11">-1</SuspendMessageOnFailure>
              <UserName vt="8" />
            </CustomProps>
          </ReceiveLocationTransportTypeData>
          <ReceivePipeline Name="Be.Stateless.BizTalk.Pipelines.XmlReceive" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.XmlReceive, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="1" TrackingOption="None" />
          <ReceivePipelineData xsi:nil="true" />
          <SendPipeline xsi:nil="true" />
          <SendPipelineData xsi:nil="true" />
          <Enable>true</Enable>
          <ReceiveHandler Name="${ReceiveHost}" HostTrusted="false">
            <TransportType Name="WCF-SQL" Capabilities="779" ConfigurationClsid="59b35d03-6a06-4734-a249-ef561254ecf7" />
          </ReceiveHandler>
        </ReceiveLocation>
      </ReceiveLocations>
      <SendPipelineData xsi:nil="true" />
      <ApplicationName>BizTalk.Factory</ApplicationName>
    </ReceivePort>
    <!-- #endif-->
    <!-- #if GetProperty("TargetEnvironment") == "DEV" || GetProperty("TargetEnvironment") == "SHAREDDEV" -->
    <ReceivePort Name="BizTalk.Factory.RP1.UnitTest" IsTwoWay="false" BindingOption="0">
      <ReceiveLocations>
        <ReceiveLocation Name="BizTalk.Factory.RL1.UnitTest.FILE.XML">
          <Address>C:\Files\Drops\In\*.xml</Address>
          <PublicAddress />
          <Primary>true</Primary>
          <ReceiveLocationTransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          <ReceiveLocationTransportTypeData>
            <CustomProps>
              <BatchSize vt="19">20</BatchSize>
              <BatchSizeInBytes vt="19">102400</BatchSizeInBytes>
              <FileMask vt="8">*.xml</FileMask>
              <FileNetFailRetryCount vt="19">5</FileNetFailRetryCount>
              <FileNetFailRetryInt vt="19">5</FileNetFailRetryInt>
              <PollingInterval vt="19">60000</PollingInterval>
              <RemoveReceivedFileDelay vt="19">10</RemoveReceivedFileDelay>
              <RemoveReceivedFileMaxInterval vt="19">300000</RemoveReceivedFileMaxInterval>
              <RemoveReceivedFileRetryCount vt="19">5</RemoveReceivedFileRetryCount>
              <RenameReceivedFiles vt="11">-1</RenameReceivedFiles>
            </CustomProps>
          </ReceiveLocationTransportTypeData>
          <ReceivePipeline Name="Be.Stateless.BizTalk.Pipelines.XmlReceive" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.XmlReceive, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="1" TrackingOption="None" />
          <ReceivePipelineData xsi:nil="true" />
          <SendPipeline xsi:nil="true" />
          <SendPipelineData xsi:nil="true" />
          <Enable>true</Enable>
          <ReceiveHandler Name="BizTalkServerApplication" HostTrusted="false">
            <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          </ReceiveHandler>
        </ReceiveLocation>
        <ReceiveLocation Name="BizTalk.Factory.RL1.UnitTest.Batch.AddPart.FILE.XML">
          <Address>C:\Files\Drops\In\*.xml.part</Address>
          <PublicAddress />
          <Primary>false</Primary>
          <ReceiveLocationTransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          <ReceiveLocationTransportTypeData>
            <CustomProps>
              <BatchSize vt="19">20</BatchSize>
              <BatchSizeInBytes vt="19">102400</BatchSizeInBytes>
              <FileMask vt="8">*.xml.part</FileMask>
              <FileNetFailRetryCount vt="19">5</FileNetFailRetryCount>
              <FileNetFailRetryInt vt="19">5</FileNetFailRetryInt>
              <PollingInterval vt="19">10000</PollingInterval>
              <RemoveReceivedFileDelay vt="19">10</RemoveReceivedFileDelay>
              <RemoveReceivedFileMaxInterval vt="19">300000</RemoveReceivedFileMaxInterval>
              <RemoveReceivedFileRetryCount vt="19">5</RemoveReceivedFileRetryCount>
              <RenameReceivedFiles vt="11">-1</RenameReceivedFiles>
            </CustomProps>
          </ReceiveLocationTransportTypeData>
          <ReceivePipeline Name="Be.Stateless.BizTalk.Pipelines.XmlReceive" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.XmlReceive, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="1" TrackingOption="None" />
          <ReceivePipelineData>
            <Root>
              <Stages>
                <Stage CategoryId="9d0e410e-4cce-4536-83fa-4a5040674ad6">
                  <Components>
                    <Component Name="Be.Stateless.BizTalk.Component.ContextPropertyExtractorComponent">
                      <Properties>
                        <Extractors vt="8">
                          <san:Properties xmlns:san="urn:schemas.stateless.be:biztalk:annotations:2013:01" xmlns:bf="urn:schemas.stateless.be:biztalk:properties:system:2012:04" xmlns:tp="urn:schemas.stateless.be:biztalk:properties:tracking:2012:04">
                            <bf:EnvelopeSpecName promoted="true" xpath="/*[local-name()='Any']/*[local-name()='EnvelopeSpecName']" />
                            <bf:EnvelopePartition xpath="/*[local-name()='Any']/*[local-name()='EnvelopePartition']" />
                            <tp:Value1 xpath="/*[local-name()='Any']/*[local-name()='EnvelopeSpecName']" />
                            <tp:Value2 xpath="/*[local-name()='Any']/*[local-name()='EnvelopePartition']" />
                          </san:Properties>
                        </Extractors>
                      </Properties>
                    </Component>
                    <Component Name="Be.Stateless.BizTalk.Component.PolicyRunnerComponent">
                      <Properties />
                    </Component>
                    <Component Name="Be.Stateless.BizTalk.Component.ActivityTrackerComponent">
                      <Properties />
                    </Component>
                    <Component Name="Be.Stateless.BizTalk.Component.XsltRunnerComponent">
                      <Properties />
                    </Component>
                  </Components>
                </Stage>
              </Stages>
            </Root>
          </ReceivePipelineData>
          <SendPipeline xsi:nil="true" />
          <SendPipelineData xsi:nil="true" />
          <Enable>true</Enable>
          <ReceiveHandler Name="BizTalkServerApplication" HostTrusted="false">
            <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          </ReceiveHandler>
        </ReceiveLocation>
        <ReceiveLocation Name="BizTalk.Factory.RL1.UnitTest.Claim.Desk.FILE.XML">
          <Address>C:\Files\Drops\In\*.xml.claim</Address>
          <PublicAddress />
          <Primary>false</Primary>
          <ReceiveLocationTransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          <ReceiveLocationTransportTypeData>
            <CustomProps>
              <BatchSize vt="19">20</BatchSize>
              <BatchSizeInBytes vt="19">102400</BatchSizeInBytes>
              <FileMask vt="8">*.xml.claim</FileMask>
              <FileNetFailRetryCount vt="19">5</FileNetFailRetryCount>
              <FileNetFailRetryInt vt="19">5</FileNetFailRetryInt>
              <PollingInterval vt="19">60000</PollingInterval>
              <RemoveReceivedFileDelay vt="19">10</RemoveReceivedFileDelay>
              <RemoveReceivedFileMaxInterval vt="19">300000</RemoveReceivedFileMaxInterval>
              <RemoveReceivedFileRetryCount vt="19">5</RemoveReceivedFileRetryCount>
              <RenameReceivedFiles vt="11">-1</RenameReceivedFiles>
            </CustomProps>
          </ReceiveLocationTransportTypeData>
          <ReceivePipeline Name="Be.Stateless.BizTalk.Pipelines.XmlReceive" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.XmlReceive, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="1" TrackingOption="None" />
          <ReceivePipelineData>
            <Root>
              <Stages>
                <Stage CategoryId="9d0e410e-4cce-4536-83fa-4a5040674ad6">
                  <Components>
                    <Component Name="Be.Stateless.BizTalk.Component.ContextPropertyExtractorComponent">
                      <Properties>
                        <Extractors vt="8">
                          <san:Properties xmlns:san="urn:schemas.stateless.be:biztalk:annotations:2013:01" xmlns:bf="urn:schemas.stateless.be:biztalk:properties:system:2012:04" xmlns:tp="urn:schemas.stateless.be:biztalk:properties:tracking:2012:04">
                            <bf:CorrelationToken xpath="/*[local-name()='Any']/*[local-name()='CorrelationToken']" />
                            <bf:OutboundTransportLocation xpath="/*[local-name()='Any']/*[local-name()='OutboundTransportLocation']" />
                            <bf:ReceiverName xpath="/*[local-name()='Any']/*[local-name()='ReceiverName']" />
                            <bf:SenderName xpath="/*[local-name()='Any']/*[local-name()='SenderName']" />
                            <tp:Value1 xpath="/*[local-name()='Any']/*[local-name()='CorrelationToken']" />
                            <tp:Value2 xpath="/*[local-name()='Any']/*[local-name()='ReceiverName']" />
                            <tp:Value3 xpath="/*[local-name()='Any']/*[local-name()='SenderName']" />
                          </san:Properties>
                        </Extractors>
                      </Properties>
                    </Component>
                    <Component Name="Be.Stateless.BizTalk.Component.PolicyRunnerComponent">
                      <Properties />
                    </Component>
                    <Component Name="Be.Stateless.BizTalk.Component.ActivityTrackerComponent">
                      <Properties>
                        <TrackingModes vt="8">Claim</TrackingModes>
                      </Properties>
                    </Component>
                    <Component Name="Be.Stateless.BizTalk.Component.XsltRunnerComponent">
                      <Properties />
                    </Component>
                  </Components>
                </Stage>
              </Stages>
            </Root>
          </ReceivePipelineData>
          <SendPipeline xsi:nil="true" />
          <SendPipelineData xsi:nil="true" />
          <Enable>true</Enable>
          <ReceiveHandler Name="BizTalkServerApplication" HostTrusted="false">
            <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          </ReceiveHandler>
        </ReceiveLocation>
        <ReceiveLocation Name="BizTalk.Factory.RL1.UnitTest.Claim.Desk.FILE">
          <Address>C:\Files\Drops\In\*.bin.claim</Address>
          <PublicAddress />
          <Primary>false</Primary>
          <ReceiveLocationTransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          <ReceiveLocationTransportTypeData>
            <CustomProps>
              <BatchSize vt="19">20</BatchSize>
              <BatchSizeInBytes vt="19">102400</BatchSizeInBytes>
              <FileMask vt="8">*.bin.claim</FileMask>
              <FileNetFailRetryCount vt="19">5</FileNetFailRetryCount>
              <FileNetFailRetryInt vt="19">5</FileNetFailRetryInt>
              <PollingInterval vt="19">60000</PollingInterval>
              <RemoveReceivedFileDelay vt="19">10</RemoveReceivedFileDelay>
              <RemoveReceivedFileMaxInterval vt="19">300000</RemoveReceivedFileMaxInterval>
              <RemoveReceivedFileRetryCount vt="19">5</RemoveReceivedFileRetryCount>
              <RenameReceivedFiles vt="11">-1</RenameReceivedFiles>
            </CustomProps>
          </ReceiveLocationTransportTypeData>
          <ReceivePipeline Name="Be.Stateless.BizTalk.Pipelines.PassThruReceive" FullyQualifiedName="Be.Stateless.BizTalk.Pipelines.PassThruReceive, Be.Stateless.BizTalk.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3707daa0b119fc14" Type="1" TrackingOption="None" />
          <ReceivePipelineData>
            <Root>
              <Stages>
                <Stage CategoryId="9d0e4103-4cce-4536-83fa-4a5040674ad6">
                  <Components>
                    <Component Name="Be.Stateless.BizTalk.Component.FailedMessageRoutingEnablerComponent">
                      <Properties />
                    </Component>
                    <Component Name="Be.Stateless.BizTalk.Component.PolicyRunnerComponent">
                      <Properties />
                    </Component>
                    <Component Name="Be.Stateless.BizTalk.Component.ActivityTrackerComponent">
                      <Properties>
                        <TrackingModes vt="8">Claim</TrackingModes>
                      </Properties>
                    </Component>
                  </Components>
                </Stage>
              </Stages>
            </Root>
          </ReceivePipelineData>
          <SendPipeline xsi:nil="true" />
          <SendPipelineData xsi:nil="true" />
          <Enable>true</Enable>
          <ReceiveHandler Name="BizTalkServerApplication" HostTrusted="false">
            <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          </ReceiveHandler>
        </ReceiveLocation>
      </ReceiveLocations>
      <SendPipelineData xsi:nil="true" />
      <ApplicationName>BizTalk.Factory</ApplicationName>
    </ReceivePort>
    <!-- #endif -->
  </ReceivePortCollection>
  <PartyCollection />
</BindingInfo>